from sqlalchemy import Column, BigInteger, String, Integer, DateTime, func

from utils.work_db import Base


class WeixinMessage(Base):
    __tablename__ = 'weixin_message'
    message_id = Column(BigInteger, primary_key=True)
    source = Column(String)
    target = Column(String)
    create_time = Column(DateTime, default=func.now())
    message_type = Column(String)
    content = Column(String)
